package com.guli.ware.feign;

import com.guli.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author zzb
 * @Date 2024/4/21 16:42
 * @Version 1.0
 */
@FeignClient("order-service")
public interface OrderFeignService {

    @GetMapping("/order/order/orderStatus/{orderSn}")
    R getOrderStatusByOrderSn(@PathVariable String orderSn);

}
